package com.tjhq.commons.dict.service;


import java.util.List;

import com.tjhq.commons.dict.external.po.DictTDealtypePO;


/**
 * 处理类型表接口
 *
 * @author xujingsi
 */

public interface IDictTDealtypeService {
    
    /**
     * 添加
     */
    void insertDictTDealtype(DictTDealtypePO dictTDealtype) throws Exception;
    
    /**
     * 修改
     */
    void updateDictTDealtype(DictTDealtypePO dictTDealtype) throws Exception;
    
    /**
     * 删除
     */
    void deleteDictTDealtype(String dealid) throws Exception;
    
    /**
     * 获取全部
     *
     * @return List<DictTDealtype>
     */
    List<DictTDealtypePO> getAllDictTDealtype() throws Exception;
    
    /**
     * @param dealID
     * @param appID
     * @return
     * @throws Exception
     */
    DictTDealtypePO getDictTDealtype(String dealID, String appID)
    throws Exception;
    
    /**
     * @param dealID 表处理类型
     * @param appID 系统标示
     * @return
     * @throws Exception
     */
    boolean dealTypeIsConfig(String dealID, String appID)
    throws Exception;
    
    
    /**
     * DictTDealtypePO  simple data 有自定义数据  父节点
     *
     * @return
     */
    List<DictTDealtypePO> findDictTDealtypeListForZTree() throws Exception;
}
